/** 此路径根据自己项目路径修改；默认为 uniapp 插件市场导入路径；*/

import {
	defineConfig
} from 'vite';
import uni from '@dcloudio/vite-plugin-uni';
import viteVueUnocss, {
	unocss,
	flex
} from './js_sdk/a-hua-unocss';
export default defineConfig({
	plugins: [
		uni(),
		viteVueUnocss({
			/** 预设数组；默认[unocss()] */
			presets: [
				/**
				 * 默认预设
				 * text-24、uno-text-24、xx-text-24...
				 */
				unocss(),

				/** 
				 * 弹性盒速写
				 * flex-center、flex-col-center、flex-row-center...
				 */
				flex()
			],
			autoImport: false,
			shortcuts: [{
				center: 'flex justify-center items-center'
			}],

		})
	]
});